﻿using EkStudio.com.bean.xml.reflection;

namespace EkStudio.com.bean.xml.RootInterface.QuerySource
{
    public class BillQueryPrinterItem
    {
        private string key = "";
        private string caption = "";
        private string sort = "";
        private string languageTexts = "";
        private bool mainField = false;

        
        [Xml("caption")]
        public string Caption
        {
            get
            {
                return caption;
            }

            set
            {
                caption = value;
            }
        }
        [Xml("key")]
        public string Key
        {
            get
            {
                return key;
            }

            set
            {
                key = value;
            }
        }
        [Xml("sort")]
        public string Sort
        {
            get { return sort; }
            set { sort = value; }
        }

        [Xml("languageTexts")]
        public string LanguageTexts
        {
            get
            {
                return languageTexts;
            }

            set
            {
                languageTexts = value;
            }
        }
        [Xml]
        public bool MainField
        {
            get
            {
                return mainField;
            }

            set
            {
                mainField = value;
            }
        }
    }
}
